#ifndef __FLATPAKREMOTES__H__
#define __FLATPAKREMOTES__H__

#include "FlatpakBase.h"

// flatpak remotes
class Flatpak::Remotes : public Flatpak::Base {
    public:
        initCommand(Remotes, "remotes")

        Remotes(const Remotes &) = default;
        Remotes(Remotes &&) = default;
        Remotes &operator=(const Remotes &) = default;
        Remotes &operator=(Remotes &&) = default;

        // --user/--system
        UserSystem(Remotes)

        // --columns=
        Columns(Remotes, name)
        Columns(Remotes, title)
        Columns(Remotes, url)
        Columns(Remotes, collection)
        Columns(Remotes, subset)
        Columns(Remotes, filter)
        Columns(Remotes, priority)
        Columns(Remotes, options)
        Columns(Remotes, comment)
        Columns(Remotes, description)
        Columns(Remotes, homepage)
        Columns(Remotes, icon)
        Columns(Remotes, all)
        // Columns(Remotes, help)

        // --ostree-verbose
        OstreeVerbose(Remotes)

        QString run() {
            Base::run();
            qDebug() << "Running:" << command << args;
            return FlatpakCommand::RunCommand(command, args);
        }

    private:

};

#endif  //!__FLATPAKREMOTES__H__



/****************************************************************
Usage:
  flatpak remotes [OPTION…]  - List remote repositories

Help Options:
  -h, --help              Show help options

Application Options:
  --user                  Work on the user installation
  --system                Work on the system-wide installation (default)
  --installation=NAME     Work on a non-default system-wide installation
  -d, --show-details      Show remote details
  --show-disabled         Show disabled remotes
  --columns=FIELD,…       What information to show
  -v, --verbose           Show debu`g information, -vv for more detail
  --ostree-verbose        Show OSTree debug information

Available columns:
  name            Show the name
  title           Show the title
  url             Show the URL
  collection      Show the collection ID
  subset          Show the subset
  filter          Show filter file
  priority        Show the priority
  options         Show options
  comment         Show comment
  description     Show description
  homepage        Show homepage
  icon            Show icon
  all             Show all columns
  help            Show available columns

Append :s[tart], :m[iddle], :e[nd] or :f[ull] to change ellipsization
*******************************************************************/